package com.guet.user.beans.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Li
 * @create 2022-12-19-21:15
 */
@Data
public class UserVO implements Serializable {
    private static final long serialVersionUID = -7767868728592655933L;

    @NotEmpty(message = "账号不可为空")
    private String userName;

    /**
     *
     */
    @NotEmpty(message = "密码不可为空")
    private String passWord;


    /**
     *
     */
    @NotNull(message = "性别不允许为空")
    private Integer sex;

    /**
     *
     */
    private String motto;


    private String icon;


}
